// This is a recorded macro. First, check over the
// commands to make sure this is what you intended. Then,
// save this buffer, and the macro should appear in the
// Macros menu.
//textArea.setSelectedText("test")
import blanco.commons.sql.format.*

try{
    textArea.text = "    " + new BlancoSqlFormatter(new BlancoSqlRule()).format(textArea.text)
} catch(e){
    textArea.text += e.toString()
}
